package com.ny.demo;
import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
//从键盘输入
        Scanner scanner = new Scanner(System.in);
// 确定从键盘输入的类型,把从键盘输入的值交给a
//        求两个数的和
       System.out.println("请输入第一个数");
       int a =  scanner.nextInt();
       System.out.println("请输入第二个数");
       int b =  scanner.nextInt();
       System.out.println(a%b);
//       求两个小数的余
        double c = scanner.nextDouble();
    }
}
